% 14.已知质点的运动方程是x=sinw1t,y=sinw2t,用命令comet画出质点的
% 运动轨迹图，要求频率比w1/w2分别是有理数和无理数。
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clear
clc
t = 0:pi/100:2*pi;
x = sin(t);
y1 = sin(sqrt(3)*t);
y2 = sin(sqrt(4)*t);
comet(x,y1)
hold on
comet(x,y2)